//
//  DataBaseHandle2.h
//  UI_豆瓣项目
//
//  Created by dllo on 16/1/13.
//  Copyright © 2016年 dllo. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <sqlite3.h>
@class Second1Model;
@interface DataBaseHandle2 : NSObject {
    sqlite3 *dbPoint;
}
//单例
+ (DataBaseHandle2 *)sharedDataBaseHandle;
// 打开数据库
- (void)openDB;

// 建表
- (void)createTable;
// 增
- (void)insertModel:(Second1Model *)model;

//删
- (void)removeModel:(Second1Model *)model;
//查
- (NSMutableArray *)selectTable;

@end
